package com.mojiayi.learn.dubbo;

import java.util.List;

public class DubboServiceList {
    private int totalPages;
    private int totalElements;
    private boolean first;
    private boolean last;
    private Pageable pageable;
    private List<DubboService> content;

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public int getTotalElements() {
        return totalElements;
    }

    public void setTotalElements(int totalElements) {
        this.totalElements = totalElements;
    }

    public boolean isFirst() {
        return first;
    }

    public void setFirst(boolean first) {
        this.first = first;
    }

    public boolean isLast() {
        return last;
    }

    public void setLast(boolean last) {
        this.last = last;
    }

    public Pageable getPageable() {
        return pageable;
    }

    public void setPageable(Pageable pageable) {
        this.pageable = pageable;
    }

    public List<DubboService> getContent() {
        return content;
    }

    public void setContent(List<DubboService> content) {
        this.content = content;
    }
}
